package Java攻略._1_基础知识._2_方法引用;

import java.util.stream.Stream;

public class _12_方法应用的等小lambda表达式 {

    public static void main(String[] args) {

        Stream.of("this","is","a","stream","of","strings")
                .map(s -> s.length())
                .forEach(x -> System.out.println(x));
    }
}
